package com.es.esdemo.dao;

import com.es.esdemo.entity.Cms;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description
 * @author      yanghanwei
 * @mail        yanghanwei@bjpp.com
 * @date        19:48 2020-11-30
 **/
@Mapper
public interface CmsDao {

    /**
     * 查询所有
     * @return
     */
    @Select("select * from cms")
    List<Cms> getList();
}
